//
//  XXJLoginRegistView.m
//  不得姐
//
//  Created by 许小军 on 16/9/3.
//  Copyright © 2016年 wyzc. All rights reserved.
//

#import "XXJLoginRegistView.h"
@interface XXJLoginRegistView ()

//@property (weak, nonatomic) IBOutlet UIButton *loginBtnBg;

@end
@implementation XXJLoginRegistView

+(instancetype)loginView
{
    return [[[NSBundle mainBundle]loadNibNamed:NSStringFromClass(self) owner:nil options:nil]firstObject];
}

+(instancetype)registView
{
    return [[[NSBundle mainBundle]loadNibNamed:NSStringFromClass(self) owner:nil options:nil]lastObject];
}

//-(void)awakeFromNib
//{
//    UIImage * iamge=[_loginBtnBg currentBackgroundImage];
//    iamge=[iamge stretchableImageWithLeftCapWidth:iamge.size.width*0.5 topCapHeight:iamge.size.height*0.5];
//    
//    [_loginBtnBg setBackgroundImage:iamge forState:UIControlStateNormal];
//}

@end























